<!DOCTYPE html>
<html>

	<head>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<meta name="format-detection" content="telephone=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
		<title>房源推荐</title>
		<link rel="stylesheet" type="text/css" href="../css/reset.css" />
		<link rel="stylesheet" type="text/css" href="../css/iconfont.css" />
		<link rel="stylesheet" type="text/css" href="../css/common.css" />
		<link rel="stylesheet" type="text/css" href="../css/source.css" />
	</head>

	<body>
		<!--顶部-->
		<header class="share">
			<a href="javascript:history.go(-1)" class="iconfont icon-arrow-left"></a>
			<h1>预览</h1>
			<div class="o-btn">
				<span onclick="edit()">编辑</span>
				<span>转发</span>
			</div>
		</header>
		<!--顶部-->
		<!--内容-->
		<div class="container pt2">
			<div class="scanbox">
				<div class="sancon">
					<h1>三亚湾3房豪华海景推荐</h1>
					<div class="scantype row">
						<span>3房2厅2卫</span>
						<span>110㎡</span>
						<span>公寓</span>
						<span>70年住宅</span>
					</div>
					<div class="scantag row">
						<label>70年产权</label>
						<label>可按揭</label>
						<label>拎包入住</label>
						<label>指定带看</label>
					</div>
					<p>可按揭：首付30%（50万）；二套首付25%（45万）</p>
				</div>
				
				<div class="block4"></div>
				<div class="intro">
					<div class="intro-title common-title">
						<span>楼盘介绍</span>
					</div>
					<p class="ellipsis">北纬18℃以上，雅居乐清水湾携手摩根士丹利斥资300亿，精耕6载打造1.5万亩滨海度假王国，如今沿海16公里雅居乐清水湾携手摩根士丹利斥资300亿雅居乐清水湾携手摩根士丹利斥资300亿雅居乐清水湾携手摩根士丹利斥资300亿</p>
					<div class="row" onclick="clickWord(this)"><i class="iconfont icon-arrow-down"></i></div>
				</div>
				<div class="pic-box">
					<div class="common-title">
						<span>楼盘图片</span>
					</div>
					<div class="column">
						<img src="../img/gugu.jpg"/>
					</div>
				</div>
				<div class="param">
					<div class="common-title">
						<span>楼盘参数</span>
					</div>
					<ul>
						<li class="row">
							<label>开发商</label>
							<p>海南美豪利投资有限公司</p>
						</li>
						<li class="row">
							<label>产权</label>
							<p>70年</p>
						</li>
						<li class="row">
							<label>装修</label>
							<p>精装修</p>
						</li>
						<li class="row">
							<label>交房时间</label>
							<p>2017年2月</p>
						</li>
						<li class="row">
							<label>交房时间</label>
							<p>2017年2月</p>
						</li>
					</ul>
					<div class="triggle row" onclick="clickLi(this)"><i class="iconfont icon-arrow-down"></i></div>
				</div>
				<div class="pic-box">
					<div class="common-title">
						<span>户型图片</span>
					</div>
					<div class="column">
						<img src="../img/gugu.jpg"/>
					</div>
				</div>
				<div class="pic-box">
					<div class="common-title">
						<span>室内图片</span>
					</div>
					<div class="column">
						<img src="../img/gugu.jpg"/>
					</div>
				</div>
				<div class="intro point">
					<div class="intro-title common-title">
						<span>户型点评</span>
					</div>
					<p class="ellipsis">北纬18℃以上，雅居乐清水湾携手摩根士丹利斥资300亿，精耕6载打造1.5万亩滨海度假王国，如今沿海16公里雅居乐清水湾携手摩根士丹利斥资300亿雅居乐清水湾携手摩根士丹利斥资300亿雅居乐清水湾携手摩根士丹利斥资300亿</p>
					<div class="row" onclick="clickWord(this)"><i class="iconfont icon-arrow-down"></i></div>
				</div>
			</div>
		</div>
		<script src="../js/jquery.min.js"></script>
		<script src="../js/wap.js"></script>
		<script type="text/javascript">
			function edit(){
				location.href = 'source_edit.html'
			}
			$('.scanbox .param ul li:gt(3)').css('display','none');
			var len = $('.scanbox .param ul li').length;
			function clickWord(e){
				if($(e).children().hasClass('icon-arrow-down')){
					$(e).children().removeClass('icon-arrow-down').addClass('icon-arrow-up');
					$(e).siblings('p').removeClass('ellipsis');
				} else {
					$(e).children().removeClass('icon-arrow-up').addClass('icon-arrow-down');
					$(e).siblings('p').addClass('ellipsis');
				}
			}
			function clickLi(e){
				if(len <= 4){
					$(e).hide();
				} else {
					if($(e).children().hasClass('icon-arrow-down')){
						$(e).children().removeClass('icon-arrow-down').addClass('icon-arrow-up');
						$('.scanbox .param ul li').css('display','flex');
					} else {
						$(e).children().removeClass('icon-arrow-up').addClass('icon-arrow-down');
						$('.scanbox .param ul li:gt(3)').css('display','none');
					}
				}
			}
		</script>
	</body>

</html>